<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>01_BOM操作</title>
</head>
<body>
<button onclick="alert('警告框')">弹出警告框</button>
<button onclick="confirm('您确认要删除吗？')">弹出确认框</button>
<button onclick="prompt('请输入您的会员卡号：')">弹出输入框</button>
<script>
    console.log(parseInt(6));
    console.log(parseInt('hhh'));
    console.log(parseInt('12h34hh5'));

    console.log(parseFloat('6.6'));
    console.log(parseFloat('5'));
    console.log(parseFloat('hhh'));
    console.log(parseFloat('11hh33h44'));

    console.log(isNaN('hhh'));
    console.log(isNaN(11));
    console.log(isNaN(1.1));
</script>
</body>
</html>